package com.bristua.mall.admin.user.controller;

import com.bristua.mall.admin.common.bean.Result;
import com.bristua.mall.admin.common.utils.HandleResultUtil;
import com.bristua.mall.admin.user.biz.QueryUserTakeCashBiz;
import com.bristua.mall.admin.user.model.condition.QueryUserTakeCashParams;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2019/4/2.
 */
@RestController
public class QueryUserTakeCashController {

    @Autowired
    private QueryUserTakeCashBiz queryUserTakeCashBiz;

    @PostMapping(value="/admin/user/take/cash/query")
    public Result queryUserTakeCash(@RequestBody QueryUserTakeCashParams queryUserTakeCashParams){
        return HandleResultUtil.querySuccessResult(queryUserTakeCashBiz.queryUserTakeCash(queryUserTakeCashParams));
    }
}
